ScrolledWindow: Annotate h|vadjustment as nullable
authorDaniel Boles <dboles.src@gmail.com>
Tue, 21 May 2019 19:26:49 +0000 (20:26 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Tue, 21 May 2019 20:21:14 +0000 (21:21 +0100)
commit7575d5216f9bdc6519719852593629eb7ab21941
tree33ead56ae6133a8d632e3b329dbf57702407df37
parent45a98d6a938eb0e6184af44d44f0bcc1fb5aab96
ScrolledWindow: Annotate h|vadjustment as nullable

The code interprets NULL to mean 'create a new Adjustment and use that,
deposing the old one', but we neither documented nor annotated that
ability, so users could be unsure how to "unlink" a specific Adjustment.
While users could pass their own Adjustment in if this wasn't nullable,
we already support NULL in the code, and it doesn't hurt to document
that this is available as a convenience while retaining the behaviour.
gtk/gtkscrolledwindow.c